snort3: refactor architecture-specific dependencies and CMake options
authorJosef Schlehofer <[email protected]>
Wed, 24 Sep 2025 08:03:13 +0000 (10:03 +0200)
committerJosef Schlehofer <[email protected]>
Sun, 5 Oct 2025 10:08:59 +0000 (12:08 +0200)
commit126364e105fbcfde0617f58c39048c7d56c17a06
tree90785d13032737cec23f769770ff8d7a2428c1d8
parentc7253f97a3ff8fdc5a0877fd790dd4314e83f659
snort3: refactor architecture-specific dependencies and CMake options

1. Enabled hyperscan/vectorscan together with adding dependency only for x86_64 and aarch64.
2. Disabled tmalloc (from gperftools package) for powerpc and mips.

By doing this refactor, snort3 is going to be available for more OpenWrt devices
(as it was in the past) as currently it was compiled only for x86_x64 and aarch64 by mistake.

Fixes: 257e2fc38aa694604e7be9e70e58082037133434 ("snort3: fix logic in gpertools-runtime depends")
Signed-off-by: Josef Schlehofer <[email protected]>
net/snort3/Makefile